package com.ideal.manage.esms.bean.alarm;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

public class Alarm implements Serializable {

    private Long id;

    private String name;
    private String content;
    private String grade;
    private String source;
    private String treatmentSuggestion;
    private Long status;
    private String operation;
    private String details;
    @JSONField(format = "yyyy-MM-dd HH:mm")
    private Date startTime;
    private Date endTime;

    public void setId(Long id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public void setTreatmentSuggestion(String treatmentSuggestion) {
        this.treatmentSuggestion = treatmentSuggestion;
    }

    public void setStatus(Long status) {
        this.status = status;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public void setDetails(String details) {
        this.details = details;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Long getId() {

        return id;
    }

    public String getName() {
        return name;
    }

    public String getContent() {
        return content;
    }

    public String getGrade() {
        return grade;
    }

    public String getSource() {
        return source;
    }

    public String getTreatmentSuggestion() {
        return treatmentSuggestion;
    }

    public Long getStatus() {
        return status;
    }

    public String getOperation() {
        return operation;
    }

    public String getDetails() {
        return details;
    }

    public Date getStartTime() {
        return startTime;
    }

    public Date getEndTime() {
        return endTime;
    }
}
